package com.wnxy.service;

import com.wnxy.dto.RolePathDto;
import com.wnxy.model.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author alice
 * @since 2021-11-12
 */
public interface RoleService extends IService<Role> {

    void addRole(String roleName);

    Map<Integer, List<RolePathDto>> loadRolePath();

}
